package cn.szq.springframework.test.bean;

/***
 * All rights Reserved, Designed By www.jx-lab.com
 * @Title: UserService
 * @Description:
 * @author lixy
 * @date 2021/8/12 9:22
 * @version V1.0
 * @Copyright: www.jx-lab.com Inc. All rights reserved.
 * 注意：本内容仅限于众合景轩信息技术有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
public class UserService {

    private String id;

    private UserDao userDao;

    public void queryUserInfo(){
        System.out.println(userDao.queryUserName(id));
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public String toString() {
        return "UserService{" +
                "id='" + id + '\'' +
                ", userDao=" + userDao +
                '}';
    }
}
